<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>
    OSError: [Errno 2] No such file or directory : Forums : PythonAnywhere
</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="Forums : PythonAnywhere">
        <meta name="author" content="PythonAnywhere LLP">
        <meta name="google-site-verification" content="O4UxDrfcHjC44jybs2vajc1GgRkTKCTRgVzeV6I9V14" />

        <!-- Le styles -->
        <link href="/static/bootstrap/css/bootstrap.css" rel="stylesheet">
        <link href="/static/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
        <link href="/static/anywhere/styles/bootstrap_base.css" rel="stylesheet">
        
    
    <link rel="stylesheet" href="/static/anywhere/styles/forums.css" type="text/css" media="screen" charset="utf-8" />

    <link rel="stylesheet" href="/static/pygments/style.css" type="text/css" media="screen" charset="utf-8" />

        <link rel="stylesheet" href="/static/jquery/jquery-ui-1.8.11.custom.css" type="text/css" media="screen" charset="utf-8" />
        
    
    <link rel="alternate" type="application/rss+xml" title="RSS" href="/forums/topic/721/rss" />

        <style type="text/css">
            body {
                height: auto;
            }
        </style>
        <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
        <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->

        <!-- Le fav and touch icons -->
        <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
        <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
        <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
    </head>

     <body>
        <div class="navbar navbar-fixed-top">
            <div class="navbar-inner">
                <div id="id_internal_nav_bar_container" class="container">
                    <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    </a>
                    <a class="brand" href="/"><img id="id_logo" src="/static/anywhere/images/logo-234x35.png" height="35" title="PythonAnywhere logo" alt="PythonAnywhere logo" /></a>
                    <div class="nav-collapse">
                        <ul id="id_header_links" class="nav">
                            <li><a id="id_feedback_link" class='feedback_link' href="">Send feedback</a></li>
                            <li><a id="id_forums_link" href="/forums/">Forums</a></li>
                            <li><a href="/wiki/" id="id_help_link">Help</a></li>
                            <li><a href="http://blog.pythonanywhere.com/" id="id_blog_link">Blog</a></li>
                            
                            
                                <li><a style="font-weight: bold;" href="/pricing/" id="id_pricing_link">Pricing & signup</a></li>
                                <li><a href="/login/?next=/forums/topic/721/" id="id_login_link">Log in</a></li>
                            
                        </ul>
                    </div>
                </div>
            </div>
        </div>

        <div class="top-container" id="id_dummy"></div>

        

        
    
    <div class="container">
        <div class="row">
            <div class="span8 offset3">
                <h1>PythonAnywhere Forums</h1>
            </div>
        </div>



    <div class="row">
        <div class="span8 offset3">
            <p>
                <a href="/forums/start_topic/" id="id_start_new_topic">Start a new topic</a> |
                <a href="/forums/">Back to all topics</a> |
                <a href="/forums/topic/721/rss">This topic's RSS</a>
            </p>
        </div>
    </div>
    <div class="row">
        <div class="span8 offset3 topic">
            <h2>OSError: [Errno 2] No such file or directory</h2>
        </div>
    </div>

    
        <div class="row">
            <div id="id_post_5145" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5145_content_text" class="span8">
                        <p>Hello everyone,</p>
<p>my website was working fine until 9am. Now when I try to access the website it displays Unhandled Exception. Here are the error log and the server log:</p>
<p>Error log:</p>
<div class="codehilite"><pre><span class="mi">2013</span><span class="o">-</span><span class="mo">06</span><span class="o">-</span><span class="mi">24</span> <span class="mi">12</span><span class="o">:</span><span class="mi">58</span><span class="o">:</span><span class="mi">12</span><span class="p">,</span><span class="mi">278</span> <span class="o">:</span><span class="n">Traceback</span> <span class="p">(</span><span class="n">most</span> <span class="n">recent</span> <span class="n">call</span> <span class="n">last</span><span class="p">)</span><span class="o">:</span>
<span class="mi">2013</span><span class="o">-</span><span class="mo">06</span><span class="o">-</span><span class="mi">24</span> <span class="mi">12</span><span class="o">:</span><span class="mi">58</span><span class="o">:</span><span class="mi">12</span><span class="p">,</span><span class="mi">279</span> <span class="o">:</span><span class="n">OSError</span><span class="o">:</span> <span class="p">[</span><span class="n">Errno</span> <span class="mi">2</span><span class="p">]</span> <span class="n">No</span> <span class="n">such</span> <span class="n">file</span> <span class="n">or</span> <span class="n">directory</span>
</pre></div>


<p>Server log:</p>
<div class="codehilite"><pre><span class="n">Traceback</span> <span class="p">(</span><span class="n">most</span> <span class="n">recent</span> <span class="n">call</span> <span class="n">last</span><span class="p">)</span><span class="o">:</span> <span class="n">False</span>
<span class="n">File</span> <span class="s">&quot;/bin/user_wsgi_wrapper.py&quot;</span><span class="p">,</span> <span class="n">line</span> <span class="mi">58</span><span class="p">,</span> <span class="n">in</span> <span class="n">__call__</span> <span class="n">False</span>
<span class="n">app_iterator</span> <span class="o">=</span> <span class="n">self</span><span class="p">.</span><span class="n">app</span><span class="p">(</span><span class="n">environ</span><span class="p">,</span> <span class="n">start_response</span><span class="p">)</span> <span class="n">True</span>
<span class="n">File</span> <span class="s">&quot;/bin/user_wsgi_wrapper.py&quot;</span><span class="p">,</span> <span class="n">line</span> <span class="mi">70</span><span class="p">,</span> <span class="n">in</span> <span class="n">import_error_application</span> <span class="n">False</span>
<span class="n">raise</span> <span class="n">e</span> <span class="n">True</span>
<span class="nl">OSError:</span> <span class="p">[</span><span class="n">Errno</span> <span class="mi">2</span><span class="p">]</span> <span class="n">No</span> <span class="n">such</span> <span class="n">file</span> <span class="n">or</span> <span class="n">directory</span> <span class="n">False</span>
</pre></div>


<p>Any ideias? I did not changed anything... </p>
<p>Thanks,</p>
<p>Danilo</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5145_creator_details">
                            
                                
                            
                            dcurvelo
                            |
                            2
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5145_created_date">
                            June 24, 2013, 1:04 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5145">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5148" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5148_content_text" class="span8">
                        <p>Looks like it's working now. We had a database server glitch that didn't look like it had affected anyone, but it looks like it meant that the environment for your web app wasn't completely built. When I forced a rebuild, it started working again. Was 9am this morning the first time you'd hit the web app for a while? Like maybe since last week?</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5148_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            glenn
                            |
                            418
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5148_created_date">
                            June 24, 2013, 2:46 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5148">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5151" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5151_content_text" class="span8">
                        <p>It is working now. How do i force a rebuild? I have a similar app in this same account that is still catching Unhandled Exception.</p>
<p>The last time I checked my app was last night.</p>
<p>Thank you for the reply.</p>
<p>[EDIT] Forget it, I reloaded and its up again. Thanks</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5151_creator_details">
                            
                                
                            
                            dcurvelo
                            |
                            2
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5151_created_date">
                            June 24, 2013, 3:42 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5151">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5248" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5248_content_text" class="span8">
                        <p>Hi Python Anywhere Team, </p>
<p>I'm with the same problem reported in this topic on my website. It was working fine three hours ago, but now display the same errors described here.</p>
<p>How can I solve this problem?</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5248_creator_details">
                            
                                
                            
                            lucasloami
                            |
                            3
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5248_created_date">
                            June 27, 2013, 11:39 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5248">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5249" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5249_content_text" class="span8">
                        <p>Investigating...</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5249_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            harry
                            |
                            376
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5249_created_date">
                            June 28, 2013, 10:11 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5249">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5250" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5250_content_text" class="span8">
                        <p>My best guess is that there was a problem with your virtualenv, probably linked to our recent move to Ubuntu.</p>
<p>I've re-created a new virtualenv for you, and installed Django into it.  I've also saved a requirements.txt for you in your app's folder.  I think things are working again, will you check?</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5250_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            harry
                            |
                            376
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5250_created_date">
                            June 28, 2013, 11 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5250">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5251" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5251_content_text" class="span8">
                        <p>For anybody else having problems like this -- <code>OSError</code>, or problems with imports -- one thing to try is rebuilding a new virtualenv.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5251_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            harry
                            |
                            376
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5251_created_date">
                            June 28, 2013, 11:01 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5251">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5275" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5275_content_text" class="span8">
                        <p>I have the same problem. Please fix as soon as possible. I'm not using virtualenv.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5275_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            giorgostzampanakis
                            |
                            37
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5275_created_date">
                            July 1, 2013, 6:11 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5275">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5277" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5277_content_text" class="span8">
                        <p>It's fixed.  Sorry about that; we're investigating the underlying cause.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5277_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            giles
                            |
                            866
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5277_created_date">
                            July 1, 2013, 9:55 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5277">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5300" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5300_content_text" class="span8">
                        <p>Same problem here for both my sites. I'm rebuilding one virtualenv now, but the second one is old - I can't remember how I set it up or what I put in it, and I don't have time at the moment to quibble about trying to remember.</p>
<p>Is it likely this will start working again as you fix your side, or is that site down for the foreseeable?</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5300_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            evilkillerfiggin
                            |
                            48
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5300_created_date">
                            July 4, 2013, 11:46 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5300">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5301" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5301_content_text" class="span8">
                        <p>Oh, and in fact the first site is still not working after I rebuilt the virtualenv. </p>
<p>This is very bad timing.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5301_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            evilkillerfiggin
                            |
                            48
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5301_created_date">
                            July 4, 2013, 11:49 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5301">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5302" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5302_content_text" class="span8">
                        <p>Really sorry to hear that.  We're investigating.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5302_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            giles
                            |
                            866
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5302_created_date">
                            July 4, 2013, 12:30 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5302">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5305" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5305_content_text" class="span8">
                        <p>OK, we have them both working again now.  I'll post back here in a minute with an explanation of what's going on and what we're doing to fix it.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5305_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            giles
                            |
                            866
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5305_created_date">
                            July 4, 2013, 12:41 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5305">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5309" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5309_content_text" class="span8">
                        <p>OK, so here's what's going on.  There was a problem with a number of virtualenvs, but we think that's actually mostly fixed now.  This is a new problem.</p>
<p>As part of our move to Ubuntu we changed the way that we construct the "sandboxed" private filesystems where your web applications live.  The new way is significantly, faster, more scalable and generally much better, but it's showed up a problem in our code.  </p>
<p>When we start up a web app, we need to put together its sandbox if there isn't one already.  The code that checks whether the sandbox is there already just looks for <code>/bin/ls</code> inside it -- if it's there then we assume that the sandbox is all set up, whereas if it's not then we rebuild the sandbox.</p>
<p>The problem is that our new system for building sandboxes can leave things in a state where the sandbox isn't fully constructed, but <code>/bin/ls</code> <em>is</em> present.  So we're incorrectly skipping the build steps when that happens.</p>
<p>I'm going to run some code to manually force-rebuild all sandboxes for running webapps now, which will make sure that no-one is stuck in this situation.  And we'll run that script regularly until we have a proper fix in -- the proper fix, of course, being to change our code that checks for the sandbox's existence so that it checks things more thoroughly before deciding to skip stuff.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5309_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            giles
                            |
                            866
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5309_created_date">
                            July 4, 2013, 12:51 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5309">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5316" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5316_content_text" class="span8">
                        <p>I would suggest creating a <code>/.incomplete</code> file at the start of the process and only removing it once the process has definitively completed - if the first step in the process is copying from some sort of template, you could include the file in the template to be deleted later. Therefore, the absence of such a file is a pretty good indicator that the sandbox is complete. You could even use this file to log diagnostic info about the creation process so you can home in on which stage of the process failed. I'd suggest a timestamp at the start of the process and timestamped entries at key points - I've found this sort of thing helpful to detect things hanging up in the past (e.g DNS lookups that needed timeouts, etc.).</p>
<p>You could, of course, use the existence (as opposed to absence) of a file to indicate that the sandbox is complete, but personally I think the first alternative is cleaner because it doesn't leave anything in the sandbox after completion.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5316_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            Cartroo
                            |
                            638
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5316_created_date">
                            July 4, 2013, 2:25 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5316">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5320" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5320_content_text" class="span8">
                        <p>Thanks for the fix. My apologies for being a bit curt earlier.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5320_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            evilkillerfiggin
                            |
                            48
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5320_created_date">
                            July 5, 2013, 12:18 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5320">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5345" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5345_content_text" class="span8">
                        <p>@Cartroo -- apologies, I was oversimplifying earlier.  Certain very specific circumstances (resulting from a failover/fail-back) can leave sandboxes in a state where a build has run to completion but certain bits are still missing.  So I think the best we can do is simply do a "has this been done already?" check for every step of the creation process, re-doing every step that needs it, so that they get patched up.</p>
<p>@evilkillerfiggin not a problem at all, I entirely understand.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5345_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            giles
                            |
                            866
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5345_created_date">
                            July 7, 2013, 5:57 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5345">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5358" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5358_content_text" class="span8">
                        <p>Again "Unhandled Exception".</p>
<p>Before it was:</p>
<h4>2013-07-10 02:41:28,370: IOError: write error</h4>
<h4>2013-07-10 02:41:28,563: RuntimeError: generator ignored GeneratorExit</h4>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5358_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            Wasser
                            |
                            11
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5358_created_date">
                            July 10, 2013, 8:03 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5358">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5360" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5360_content_text" class="span8">
                        <p>Now everything is OK, thx.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5360_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            Wasser
                            |
                            11
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5360_created_date">
                            July 10, 2013, 11:12 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5360">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5362" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5362_content_text" class="span8">
                        <p>Can you get your app to provide a more detailed traceback? it might help with debugging...</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5362_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            harry
                            |
                            376
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5362_created_date">
                            July 10, 2013, 11:30 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5362">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5381" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5381_content_text" class="span8">
                        <p>@harry... send feedback.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5381_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            Wasser
                            |
                            11
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5381_created_date">
                            July 11, 2013, 8:05 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5381">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5382" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5382_content_text" class="span8">
                        <p>Have replied to @Wasser, but here is a generic answer, in case anyone else is
wondering about <code>IOError</code>s or <code>RuntimeError</code>s with no traceback.</p>
<p>Normal errors in the error log have a full traceback.  Example:</p>
<div class="codehilite"><pre><span class="mi">2013</span><span class="o">-</span><span class="mo">07</span><span class="o">-</span><span class="mi">11</span> <span class="mi">13</span><span class="o">:</span><span class="mi">52</span><span class="o">:</span><span class="mi">41</span><span class="p">,</span><span class="mi">541</span> <span class="o">:</span><span class="n">Internal</span> <span class="n">Server</span> <span class="n">Error</span><span class="o">:</span> <span class="o">/</span><span class="n">whatever</span><span class="o">/</span><span class="n">url</span>
<span class="n">Traceback</span> <span class="p">(</span><span class="n">most</span> <span class="n">recent</span> <span class="n">call</span> <span class="n">last</span><span class="p">)</span><span class="o">:</span>
  <span class="n">File</span> <span class="s">&quot;/home/someone/.virtualenvs/django/lib/python2.7/site-packages/django/core/handlers/base.py&quot;</span><span class="p">,</span> <span class="n">line</span> <span class="mi">115</span><span class="p">,</span> <span class="n">in</span> <span class="n">get_response</span>
    <span class="n">response</span> <span class="o">=</span> <span class="n">callback</span><span class="p">(</span><span class="n">request</span><span class="p">,</span> <span class="o">*</span><span class="n">callback_args</span><span class="p">,</span> <span class="o">**</span><span class="n">callback_kwargs</span><span class="p">)</span>
  <span class="n">File</span> <span class="s">&quot;/home/someone/myproject/myapp/views.py&quot;</span><span class="p">,</span> <span class="n">line</span> <span class="mi">14</span><span class="p">,</span> <span class="n">in</span> <span class="n">my_view</span>
    <span class="n">do_something_bad_that_might_raise_an_error</span><span class="p">()</span>
<span class="nl">OhNoesException:</span> <span class="n">something</span> <span class="n">is</span> <span class="n">broken</span>
</pre></div>


<p>These can help you identify potential bugs in your code</p>
<p>The second type of error is more mysterious, because it has no traceback.  Example:</p>
<div class="codehilite"><pre><span class="mi">2013</span><span class="o">-</span><span class="mo">07</span><span class="o">-</span><span class="mi">11</span> <span class="mi">13</span><span class="o">:</span><span class="mi">58</span><span class="o">:</span><span class="mi">58</span><span class="p">,</span><span class="mi">617</span> <span class="o">:</span><span class="n">IOError</span><span class="o">:</span> <span class="n">write</span> <span class="n">error</span>
<span class="mi">2013</span><span class="o">-</span><span class="mo">07</span><span class="o">-</span><span class="mi">11</span> <span class="mi">13</span><span class="o">:</span><span class="mi">58</span><span class="o">:</span><span class="mi">58</span><span class="p">,</span><span class="mi">618</span> <span class="o">:</span><span class="n">RuntimeError</span><span class="o">:</span> <span class="n">generator</span> <span class="n">ignored</span> <span class="n">GeneratorExit</span>
</pre></div>


<p>This suggests that it is less likely to be a bug in your code, but more likely some kind of low-level error.  If you then have a look at your server log file, 
<em>/var/log/www.my-domain.com.server.log</em>, you will see many errors that look like this:</p>
<div class="codehilite"><pre><span class="n">SIGPIPE</span><span class="o">:</span> <span class="n">writing</span> <span class="n">to</span> <span class="n">a</span> <span class="n">closed</span> <span class="n">pipe</span><span class="sr">/socket/fd (probably the client disconnected) on request /</span> <span class="o">(</span><span class="n">ip</span> <span class="mf">101.101</span><span class="o">.</span><span class="mf">101.101</span><span class="o">)</span> <span class="o">!!!</span>
<span class="n">uwsgi_response_write_headers_do</span><span class="o">():</span> <span class="n">Broken</span> <span class="n">pipe</span> <span class="o">[</span><span class="n">core</span><span class="o">/</span><span class="n">writer</span><span class="o">.</span><span class="na">c</span> <span class="n">line</span> <span class="mi">193</span><span class="o">]</span>
<span class="n">IOError</span><span class="o">:</span> <span class="n">write</span> <span class="n">error</span> <span class="n">False</span>
<span class="n">RuntimeError</span><span class="o">:</span> <span class="n">generator</span> <span class="n">ignored</span> <span class="n">GeneratorExit</span> <span class="n">False</span>
</pre></div>


<p>As far as we can tell these errors are harmless. Here's a <a href="http://lists.unbit.it/pipermail/uwsgi/2011-August/002523.html">discussion from the uwsgi mailing list</a></p>
<p>The server log comes from your uWSGI workers, which are the ones actually
talking to the outside world, and asking your code to respond to requests.
They are saying that they sometimes get disconnected from the client half-way
through sending a response, and then that causes an error that appears in your
error log.    This isn't a problem that you can fix, but also it is probably
not one you need to worry about.  Sometimes, clients disconnect, that is
something that happens every day. uWSGI is just a bit over-enthusiastic about
logging this.   There is an option to switch off SIGPIPE logging in uWSGI which
we will investigate.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5382_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            harry
                            |
                            376
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5382_created_date">
                            July 11, 2013, 10:57 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5382">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5557" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5557_content_text" class="span8">
                        <p>Again "Unhandled Exception" = "OSError: [Errno 2] No such file or directory".</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5557_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            Wasser
                            |
                            11
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5557_created_date">
                            July 24, 2013, 7:02 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5557">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5567" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5567_content_text" class="span8">
                        <p>Now works, thx</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5567_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            Wasser
                            |
                            11
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5567_created_date">
                            July 24, 2013, 11:35 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5567">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5569" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5569_content_text" class="span8">
                        <p>Thanks for confirming.  We've just released a new version of PythonAnywhere which should be more reliable than the last.  And we're working hard on a much better version which we'll get our as soon as possible -- if all goes well, next week,</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5569_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            giles
                            |
                            866
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5569_created_date">
                            July 24, 2013, 12:11 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5569">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5605" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5605_content_text" class="span8">
                        <p>Hi Am getting OSError as well...
My URL: 
http://ulmastersproject.pythonanywhere.com/</p>
<p>Kindly resolve this issue !!</p>
<p>Thanks,
San</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5605_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            ulmastersproject
                            |
                            28
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5605_created_date">
                            July 24, 2013, 9:09 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5605">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5606" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5606_content_text" class="span8">
                        <p>Hi - I am also still getting the OSError</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5606_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            katimari
                            |
                            23
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5606_created_date">
                            July 24, 2013, 9:18 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5606">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5613" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5613_content_text" class="span8">
                        <p>Mine is working now</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5613_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            katimari
                            |
                            23
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5613_created_date">
                            July 25, 2013, 1:17 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5613">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5626" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5626_content_text" class="span8">
                        <p>Just for completeness -- this was fixed last night, here's <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5625">the explanation I just posted on a different thread</a>.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5626_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            giles
                            |
                            866
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5626_created_date">
                            July 25, 2013, 11:55 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5626">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5858" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5858_content_text" class="span8">
                        <p>Greetings. Again, the problem arose, as in the first post :(</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5858_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            Wasser
                            |
                            11
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5858_created_date">
                            Aug. 11, 2013, 12:51 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5858">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5859" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5859_content_text" class="span8">
                        <p>Investigating...</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5859_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            harry
                            |
                            376
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5859_created_date">
                            Aug. 11, 2013, 12:56 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5859">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5860" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5860_content_text" class="span8">
                        <p>Looks like it was a temporary glitch? Things seem OK now?  I will take a look through the logs and see if I can find any evidence of what happened...</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5860_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            harry
                            |
                            376
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5860_created_date">
                            Aug. 11, 2013, 1:03 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5860">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5861" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5861_content_text" class="span8">
                        <p>Kind of like a yes. But "karting51" = did not work, "summonersrift" = earned.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5861_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            Wasser
                            |
                            11
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5861_created_date">
                            Aug. 11, 2013, 1:08 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5861">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5862" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5862_content_text" class="span8">
                        <p>Now everything is OK, thx.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5862_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            Wasser
                            |
                            11
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5862_created_date">
                            Aug. 11, 2013, 1:29 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5862">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5868" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5868_content_text" class="span8">
                        <p>Hi, I have the same problem with my Flask application: OSError: [Errno 2] No such file or directory False
Traceback (most recent call last): False
  File "/bin/user_wsgi_wrapper.py", line 58, in <strong>call</strong> False
    app_iterator = self.app(environ, start_response) True
  File "/bin/user_wsgi_wrapper.py", line 70, in import_error_application False
    raise e True</p>
<p>Could you please check it.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5868_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            palagrassi
                            |
                            10
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5868_created_date">
                            Aug. 11, 2013, 6:49 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5868">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5869" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5869_content_text" class="span8">
                        <p>Ok, I've found the solution. 
"/ &gt; var &gt; www &gt; palagrassi_pythonanywhere_com_wsgi.py" I've replaced the app hosting reference file
from this : from run import app as application
to this :    from app import app as application</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5869_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            palagrassi
                            |
                            10
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5869_created_date">
                            Aug. 11, 2013, 7:14 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/721/#id_post_5869">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    

    




        <div id="id_footer" class="container">

            <footer id="id_copyright_div">
                <p>
                    Copyright &copy; 2013 PythonAnywhere LLP
                    &mdash;
                    <a href="/terms/">Terms</a>
                    &mdash;
                    <a href="/privacy/">Privacy</a><br/>
                    "Python" is a registered trademark of the Python Software Foundation.
                </p>
            </footer>

        </div>

        
        

        <div id="id_feedback_dialog" title="Help us improve" style="display:none">
    <div id="id_feedback_dialog_blurb_big" class="dialog_blurb_big">
        It's always a pleasure to hear from you!
    </div>
    <div id="id_feedback_dialog_blurb_small">
        Ask us a question, or tell us what you love or hate about PythonAnywhere.<br/>
        We'll get back to you over email ASAP.
    </div>
    <textarea id="id_feedback_dialog_text" rows="6"></textarea>
    <input id="id_feedback_dialog_email_address" type="text" class="default_prompt"/>
    <div id="id_feedback_dialog_error" class="pa_hidden">
        Sorry, there was an error connecting to the server. <br/>Please try again in a few moments...
    </div>
    <div class="dialog_buttons">
        <img id="id_feedback_dialog_spinner" src="/static/anywhere/images/spinner-small.gif" />
        <button class="btn btn-primary" id="id_feedback_dialog_ok_button">OK</button>
        <button class="btn" id="id_feedback_dialog_cancel_button">Cancel</button>
    </div>
</div>


        <!-- Le javascript
        ================================================== -->
        <!-- Placed at the end of the document so the pages load faster -->
        <script type="text/javascript" src="/static/jquery/jquery-1.7.1.min.js"></script>
        <script type="text/javascript" src="/static/jquery/jquery-ui-1.8.11.custom.min.js"></script>
        <script src="/static/bootstrap/js/bootstrap-transition.js"></script>
        <script src="/static/bootstrap/js/bootstrap-alert.js"></script>
        <script src="/static/bootstrap/js/bootstrap-modal.js"></script>
        <script src="/static/bootstrap/js/bootstrap-dropdown.js"></script>
        <script src="/static/bootstrap/js/bootstrap-scrollspy.js"></script>
        <script src="/static/bootstrap/js/bootstrap-tab.js"></script>
        <script src="/static/bootstrap/js/bootstrap-tooltip.js"></script>
        <script src="/static/bootstrap/js/bootstrap-popover.js"></script>
        <script src="/static/bootstrap/js/bootstrap-button.js"></script>
        <script src="/static/bootstrap/js/bootstrap-collapse.js"></script>
        <script src="/static/bootstrap/js/bootstrap-carousel.js"></script>
        <script src="/static/bootstrap/js/bootstrap-typeahead.js"></script>

        <script type="text/javascript">
            var urls = {};
            var Anywhere = {};
            Anywhere.urls = {};
        </script>
        <script type="text/javascript" src="/static/anywhere/scripts/ajax_utils.js"></script>

        <script type="text/javascript" src="/static/anywhere/scripts/feedback_dialog.js"></script>
        
        <script type="text/javascript">
            $(function() {
                $.extend(
                    urls,
                    {
                        feedback: '/feedback/submit/'
                    }
                );
                
                    Anywhere.FeedbackDialog.Initialise(urls, false);
                
            });
        </script>

        <script type="text/javascript">

            var _gaq = _gaq || [];
            _gaq.push(['_setAccount', 'UA-18014859-6']);
            _gaq.push(['_trackPageview']);

            (function() {
                var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
                ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
                var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
            })();

        </script>

        



    </body>
</html>
